package com.cloudfun.campusshare.common.constant;

/**
 * Created by Huqin on 2020/8/3
 */
public enum KjtServiceType {

    SUB_MERCHANT_PAGE_REGISTRATION("sub_merchant_page_registration", "1.0", "跳转到快捷通页面注册子商户"),
    SUB_MERCHANT_REGISTRATION("sub_merchant_registration", "1.2", "子商户注册"),
    RESUBMISSION_INFORMATION("resubmission_information", "1.2", "准入资料重提"),
    SUB_MERCHANT_REGISTERED_QUERY("sub_merchant_registered_query", "1.0", "子商户注册查询"),
    SUB_MERCHANT_CHANGE_BANKCARD("sub_merchant_change_bankcard", "1.0", "子商户结算银行账户变更"),
    SUB_MERCHANT_CHANGE_BANKCARD_QUERY("sub_merchant_change_bankcard_query", "1.0", "子商户结算银行账户变更查询"),
    SUB_MERCHANT_CHANGE_SETTLE_TYPE("sub_merchant_change_settle_type", "1.0", "子商户结算方式变更"),
    SUB_MERCHANT_WITHDRAWAL_CASH("sub_merchant_withdrawal_cash", "1.0", "子商户主动提现到卡"),
    SUB_MERCHANT_WITHDRAW_TO_ACCOUNT("sub_merchant_withdraw_to_account", "1.0", "子商户主动提现到户（结算户归集一般户）"),
    TRADE_QUERY("trade_query", "1.0", "主动提现查询"),
    QUERY_ACCOUNT_BALANCE_LIST("query_account_balance_list", "1.0", "查询账户余额列表"),
    QUERY_SUB_MERCHANT_BANKCARD_INFO("query_sub_merchant_bankcard_info", "1.0", "子商户结算银行卡信息查询"),
    SUB_MERCHANT_PERMISSION_APPLY("sub_merchant_permission_apply", "1.0", "申请子商户权限"),
    SUB_MERCHANT_PERMISSION_APPLY_QUERY("sub_merchant_permission_apply_query", "1.0", "子商户权限申请查询"),
    SUB_MERCHANT_CHECK_PASSWORD("sub_merchant_check_password", "1.0", "子商户支付密码设置"),

    QRCODE_APPLY("qrcode_apply", "1.0", "扫码支付进件"),
    QRCODE_APPLY_QUERY("qrcode_apply_query", "1.0", "扫码支付进件查询"),

    INSTANT_TRADE("instant_trade", "1.0", "即时到账"),
    TRADE_REFUND("trade_refund", "1.0", "退款"),
    ;

    private final String name;
    private final String version;
    private final String desc;

    KjtServiceType(String name, String version, String desc) {
        this.name = name;
        this.version = version;
        this.desc = desc;
    }

    public String getName() {
        return name;
    }

    public String getVersion() {
        return version;
    }

    public String getDesc() {
        return desc;
    }
}
